package com.power.powercash;

import com.power.utils.PowerImage;
import java.net.URL;

/**
 *
 * @author Juno
 */
public abstract class ImageSet
{

  public static PowerImage
      TITLECARD = ImageSet.getImage("images/credit-card-[40x25].png"),
      CARD = ImageSet.getImage("images/credit-card-[560x350].png"),
      VISA = ImageSet.getImage("images/visa.png"),
      MASTERCARD = ImageSet.getImage("images/mastercard.png"),
      AMERICANEXPRESS = ImageSet.getImage("images/american-express.png"),
      DINNERS = ImageSet.getImage("images/dinners-club.png");

  public static PowerImage
      ADD = ImageSet.getImage("images/add-[20].png"),
      REMOVE = ImageSet.getImage("images/remove-[20].png"),
      TRASH = ImageSet.getImage("images/trash-[20].png"),
      LUPA = ImageSet.getImage("images/lupa-[20].png"),
      REFRESH = ImageSet.getImage("images/refresh-[20].png");
  
  public static PowerImage
      WALLET = ImageSet.getImage("images/wallet.png"),
      BANCO = ImageSet.getImage("images/bank-[38].png"),
      BB = ImageSet.getImage("images/bb.png"),
      SANTANDER = ImageSet.getImage("images/santander.png"),
      HSBC = ImageSet.getImage("images/hsbc.png"),
      BRADESCO = ImageSet.getImage("images/bradesco.png"),
      CAIXA = ImageSet.getImage("images/caixa.png"),
      ITAU = ImageSet.getImage("images/itau.png"),
      BRB = ImageSet.getImage("images/brb.png"),
      BANRISUL = ImageSet.getImage("images/banrisul.png"),
      SICREDI = ImageSet.getImage("images/sicredi.png");

  public static PowerImage
      CHEQUE = ImageSet.getImage("images/cheque-[80x35].png"),
      REAL = ImageSet.getImage("images/Real-[32].png"),
      CENTRO = ImageSet.getImage("images/CentroCustos-[61x40].png"),
      ARROW_LEFT = ImageSet.getImage("images/arrow-left-[30x16].png"),
      ARROW_RIGTH = ImageSet.getImage("images/arrow-right-[30x16].png"),
      ARROW = ImageSet.getImage("images/arrow-[30x16].png"),
      SORT_UP_ARROW = ImageSet.getImage("images/sort-up-arrow-[21x12].png"),
      SORT_DOWN_ARROW = ImageSet.getImage("images/sort-down-arrow-[21x12].png"),
			V = ImageSet.getImage("images/v-[16].png"),
			OV = ImageSet.getImage("images/ov-[16].png");


  private static URL getResource(String res)
  {
    if(res == null || res.equals(""))
      return null;

    return ImageSet.class.getResource(res);
  }

  private static PowerImage getImage(String image)
  {
    if(image == null || image.equals(""))
      return null;

    return new PowerImage(ImageSet.getResource(image));
  }

}
